const BaseHandler     = require('../base-handler');
const HTTP_VERBS      = require('../../../constants').HTTP_VERBS;

class BranchOfficesHandler extends BaseHandler {

    get pattern() {
        return '/organization';
    }

    doGET(request, response) {
        response.render('console/organization', {user: request.session.user});
    }

   setup() {
        this.registerVerb(HTTP_VERBS.GET, this.doGET);
    }
}

module.exports = BranchOfficesHandler;